Communicating prefetchers that throttle one another

ABSTRACT

A microprocessor includes a first hardware data prefetcher that prefetches data into the microprocessor according to a first algorithm. The microprocessor also includes a second hardware data prefetcher that prefetches data into the microprocessor according to a second algorithm, wherein the first and second algorithms are different. The second prefetcher detects that it is prefetching data into the microprocessor according to the second algorithm in excess of a first predetermined rate and, in response, sends a throttle indication to the first prefetcher. The first prefetcher prefetches data into the microprocessor according to the first algorithm at below a second predetermined rate in response to receiving the throttle indication from the second prefetcher.

CROSS REFERENCE TO RELATED APPLICATION(S)

This application is a continuation-in-part (CIP) of U.S. Non-Provisional Application, Ser. No. 13/792,428, filed Mar. 11, 2013, which is hereby incorporated by reference in its entirety. This application claims priority based on U.S. Provisional Application, Serial No. 62/003,461, filed May 27, 2014, which is hereby incorporated by reference in its entirety.

BACKGROUND

In the event of a cache miss, the time required for a microprocessor to access system memory can be one or two orders of magnitude more than the time required to access the cache memory, prefetch buffers or other storage elements within the microprocessor itself. For this reason, to reduce their memory latency, microprocessors incorporate prefetching techniques that examine recent data access patterns and attempt to predict which data the program will access next.

The benefits of prefetching are well known. However, prefetching can have harmful effects as well. For example, each prefetch request that goes out on the processor bus to memory consumes bandwidth of the bus and memory, which may already be congested. Additionally, the prefetch request may delay another request for data that is more urgently needed. For another example, if the data is prefetched into a cache memory, the prefetched cache line will typically cause an eviction of another cache line from the cache. If it turns out the evicted cache line is needed again sooner and/or more often than the prefetched cache line is needed, then the prefetch was likely detrimental to performance rather than helpful. Therefore, what is needed is an improved data prefetching mechanism.

BRIEF SUMMARY

In one aspect the present invention provides a microprocessor. The microprocessor includes a first hardware data prefetcher that prefetches data into the microprocessor according to a first algorithm. The microprocessor also includes a second hardware data prefetcher that prefetches data into the microprocessor according to a second algorithm, wherein the first and second algorithms are different. The second prefetcher detects that it is prefetching data into the microprocessor according to the second algorithm in excess of a first predetermined rate and, in response, sends a throttle indication to the first prefetcher. The first prefetcher prefetches data into the microprocessor according to the first algorithm at below a second predetermined rate in response to receiving the throttle indication from the second prefetcher.

In another aspect, the present invention provides a method. The method includes prefetching data, by a first hardware data prefetcher, into a microprocessor according to a first algorithm. The method also includes prefetching data, by a second hardware data prefetcher, into the microprocessor according to a second algorithm, wherein the first and second algorithms are different. The method also includes detecting, by the second prefetcher, that it is prefetching data into the microprocessor according to the second algorithm in excess of a first predetermined rate and, in response, sending a throttle indication to the first prefetcher. The method also includes prefetching data, by the first prefetcher, into the microprocessor according to the first algorithm at below a second predetermined rate in response to receiving the throttle indication from the second prefetcher.

In yet another aspect, the present invention provides a computer program product encoded in at least one non-transitory computer usable medium for use with a computing device, the computer program product comprising computer usable program code embodied in said medium for specifying a microprocessor. The computer usable program code includes first program code for specifying a first hardware data prefetcher that prefetches data into the microprocessor according to a first algorithm. The computer usable program code also includes second program code for specifying a second hardware data prefetcher that prefetches data into the microprocessor according to a second algorithm, wherein the first and second algorithms are different. The second prefetcher detects that it is prefetching data into the microprocessor according to the second algorithm in excess of a first predetermined rate and, in response, sends a throttle indication to the first prefetcher. The first prefetcher prefetches data into the microprocessor according to the first algorithm at below a second predetermined rate in response to receiving the throttle indication from the second prefetcher.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a microprocessor.

FIG. 2 is a flowchart illustrating operation of the microprocessor of FIG. 1, and more specifically the communicating first and second prefetchers.

FIG. 3 is a flowchart illustrating operation of the microprocessor of FIG. 1, and more specifically the communicating first and second prefetchers.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Referring now to FIG. 1, a block diagram illustrating a microprocessor 100 is shown. The microprocessor 100 includes a pipeline of stages that includes various functional units. The pipeline includes an instruction cache 102, coupled to an instruction decoder 104, coupled to a register alias table (RAT) 106, coupled to reservation stations 108, coupled to execution units 112, coupled to a retire unit 114. The instruction decoder 104 may include an instruction translator that translates macroinstructions (e.g., of the x86 architecture) into microinstructions of the microinstruction set of a RISC-like microarchitecture of the microprocessor 100. The reservation stations 108 issue instructions to the execution units 112 for execution out of program order. The retire unit 114 includes a reorder buffer that enforces retirement of instructions in program order. The execution units 112 include a load/store unit 134 and other execution units 132, such as integer units, floating-point units, branch units, or SIMD units. The load/store unit 134 reads data from a level-1 (L1) data cache 116 and the store unit 134 writes data to the L1 data cache 116. A level-2 (L2) cache 118 backs the L1 data cache 116 and the instruction cache 102. The L2 cache 118 reads and writes system memory via a bus interface unit 122 that interfaces the microprocessor 100 to a bus 148, such as a local bus or memory bus, to which system memory (not shown) is coupled. The microprocessor 100 also includes a prefetch unit 124 that prefetches data from system memory into the L2 cache 118 and/or the L1 data cache 116 as described in detail herein.

The prefetch unit 124 includes a first prefetcher 142 and a second prefetcher 144. A data prefetcher, such as first prefetcher 142 and second prefetcher 144, is an apparatus that prefetches data into a microprocessor. To prefetch data into a microprocessor means to examine a stream of memory accesses made by a program being executed by the microprocessor, predicting one or more locations of data the program will access in the near future based on the examined stream, and fetching the data from the predicted one or more locations into the microprocessor (hopefully before the program requests the data). A stream of memory accesses is two or more requests to read or write data, wherein each of the two or more requests specifies a memory address that identifies the location of the data in memory. Advantageously, the first prefetcher 142 and the second prefetcher 144 communicate with one another via communication signals 146 in order to potentially improve the prefetch effectiveness of the prefetch unit 124 and accompanying overall performance of the system that includes the microprocessor 100 and system memory. In particular, the communication between the first prefetcher 142 and the second prefetcher 144 may result in more efficient use of the bandwidth of the processor bus 148 and/or system memory as well as the cache memories 116/118.

A data prefetcher, such as first prefetcher 142 and second prefetcher 144, prefetches according to an algorithm that it employs to predict the one or more locations from which to fetch the data. For example, a simple algorithm is a next sequential algorithm according to which the prefetcher examines the location of a memory access of the program stream and predicts the program will access data from the next sequential location. (Typically, an entire cache line is prefetched into a cache memory of the microprocessor. Hence, the prefetcher prefetches a cache line amount of memory locations that are next to the cache line worth of memory locations that includes the data specified by the program access.) The next sequential cache line may be in either an upward or downward direction in memory from the location of the program stream access. The prefetcher may look at two adjacent accesses in the stream to determine the upward or downward direction. For another example, according to a stride detection algorithm, the prefetcher may detect a stride pattern between temporally adjacent memory accesses of the stream and predict based on the stride. That is, the prefetcher looks for a gap distance between the temporally adjacent memory accesses and predicts that subsequent program accesses will be from locations that are the gap distance away from each other. For example, the prefetcher may see a stream that accesses locations 4, 8 and 12 and detects a gap distance of 4 and predicts the next access will be at 16. Prefetchers that employ more sophisticated stride algorithms may detect streams with different gap distances that appear in a pattern. For example, the prefetcher may see a stream that accesses locations 4, 8, 10, 14 and 16 and detect a first gap distance of 4 and a second gap distance of 2 and predict the next two accesses will be at 20 and 22. For yet another example, the prefetcher may employ an algorithm by which it detects a memory access pattern within a memory block that is relatively independent of the temporal order in which the accesses occur. Examples of such algorithms are employed in a “bounding box prefetcher” described substantially according to U.S. patent application Ser. No. 13/033,765, filed Feb. 24, 2011, which claims priority to U.S. Provisional Application No. 61/318,594 and which was published as U.S. Patent Publication No. 2011/0238922 on Sep. 29, 2011, each of which is hereby incorporated by reference herein in its entirety for all purposes. The first prefetcher 142 and second prefetcher 144 employ different prefetching algorithms.

Communicating Prefetcher Stopping/Resuming

Referring now to FIG. 2, a flowchart illustrating operation of the microprocessor 100 of FIG. 1, and more specifically the communicating first prefetcher 142 and second prefetcher 144, is shown. Flow begins at blocks 202 and 204.

At block 202, the first prefetcher 142 prefetches data according to a first algorithm. For example, the first prefetcher 142 examines a stream of memory accesses generated by the load/store unit 134, L1 data cache 116 and/or L2 cache 118 and prefetches data from system memory into the microprocessor 100 according to the first algorithm. Preferably, the first prefetcher 142 generates requests to the bus interface unit 122 to read data from system memory into the L1 data cache 116, L2 cache 118 or prefetch buffers (not shown). Flow proceeds to block 204.

At block 204, the second prefetcher 144 prefetches data, similar to the first prefetcher 142 at block 202; however, the second prefetcher 144 prefetches according to a second algorithm that is different from the first algorithm employed by the first prefetcher 142. Preferably, the second algorithm employed by the second prefetcher 144 is more complex and therefore capable of predicting more complex memory access patterns than the first algorithm employed by the first prefetcher 142. For example, the second prefetcher 144 may employ a prefetching algorithm similar to that described in U.S. patent application Ser. No. 13/033,765 referred to above. The second prefetcher 144 detects a memory access pattern within a memory region. In response, the second prefetcher 144 prefetches data from the memory region according to the second algorithm. In one embodiment, the memory region is a memory page as defined by the virtual memory capability of the microprocessor. Memory pages are described by their size and the fact that they are aligned to their size. For example, embodiments are contemplated in which the size of a memory page is 4 KB and is aligned on a 4 KB address boundary, although other page sizes may be employed. Furthermore, the second algorithm may employ memory regions other than memory pages. It should be understood that although blocks 202 and 204 appear in sequential order in FIG. 2, the first prefetcher 142 and the second prefetcher 144 are preferably operating concurrently to prefetch data from system memory according to their respective first and second algorithms. It should also be understood that the stream of memory accesses examined by the second prefetcher 144 might be different from the stream examined by the first prefetcher 142. Flow proceeds to block 206.

At 206, the second prefetcher 144 provides a descriptor of the memory region of block 204 to the first prefetcher 142. Sending the memory region descriptor serves as a notification to the first prefetcher 142 to stop prefetching from the memory region. Preferably, the memory descriptor comprises a memory address. In one embodiment, the memory region descriptor also includes a size of the memory region, whereas in other embodiments the size is predetermined, e.g., the size of the smallest memory page supported by the virtual memory system. The predetermined size may be programmable, e.g., by BIOS, the operating system or other software, e.g., via programmable registers of the microprocessor 100 (e.g., model specific registers), or by blowing fuses of the microprocessor 100 dedicated for such purpose. Flow proceeds to block 208.

At block 208, first prefetcher 142 receives the memory region descriptor provided by the second prefetcher 144 at block 206 and stops prefetching from the memory region. The first prefetcher 142 includes storage elements for storing the memory region descriptor and logic to determine whether a memory location from which the first algorithm predicts data should be prefetched is within the memory region. In one embodiment, the second prefetcher 144 is capable of employing the second prefetch algorithm for multiple memory regions concurrently and is capable of sending multiple memory region descriptors to the first prefetcher 142, which includes multiple storage elements for storing the multiple memory region descriptors and associated logic. Preferably, the first prefetcher 142 continues to monitor memory accesses even while it is stopped from prefetching in the memory region so that if the second prefetcher 144 tells it to start prefetching again from the memory region (as described below with respect to block 214) it can do so based on the most current memory access history. Flow proceeds to block 212.

At block 212, the second prefetcher 144 loses confidence in its ability to predict the memory access pattern the program is making in the memory region and, in response, tells the first prefetcher 142 to resume prefetching from the memory region. In one embodiment, the second prefetcher 144 loses confidence if, after having detected a memory access pattern in the memory region at block 204, the second prefetcher 144 detects that subsequent memory accesses of the stream in the memory region are not in the expected pattern. In one embodiment, a predetermined number of subsequent accesses in the memory region must not be in the pattern before the second prefetcher 144 loses confidence, and the predetermined number may be programmable similar to the fashion described above with respect to block 206. Preferably, the second prefetcher 144 also tells the first prefetcher 142 to resume prefetching from the memory region once the stream has left the memory region, e.g., once the stream has made a predetermined, preferably programmable, number of accesses that are not within the memory region. Flow proceeds to block 214.

At block 214, the first prefetcher 142 resumes prefetching from the memory region according to the first algorithm in response to receiving the communication from the second prefetcher 144 at block 212. Flow ends at block 214.

Communicating Prefetcher Throttling

Embodiments have been described in which the second prefetcher 144 tells the first prefetcher 142 to stop prefetching from a memory region and to resume prefetching from the memory region. Embodiments will now be described in which the second prefetcher 144, rather than telling the first prefetcher 142 to completely stop prefetching, tells the first prefetcher 142 to throttle its prefetch request generation rate. The second prefetcher 144 may do this when it detects that it is generating prefetch requests at a high rate and consequently consuming a relatively large amount of the memory bandwidth, for example, and does not want the prefetchers 142/144 in combination to overwhelm the memory subsystem.

Referring now to FIG. 3, a flowchart illustrating operation of the microprocessor 100 of FIG. 1, and more specifically the communicating first prefetcher 142 and second prefetcher 144, is shown. Flow begins at blocks 302 and 304.

At block 302, the first prefetcher 142 prefetches data according to a first algorithm, for example, as described above with respect to FIG. 2. Flow proceeds to block 304.

At block 304, the second prefetcher 144 prefetches data, similar to the first prefetcher 142 at block 302; however, the second prefetcher 144 prefetches according to a second algorithm that is different from the first algorithm employed by the first prefetcher 142, for example, as described above with respect to FIG. 2. It should be understood that although blocks 302 and 304 appear in sequential order in FIG. 3, the first prefetcher 142 and the second prefetcher 144 are preferably operating concurrently to prefetch data from system memory according to their respective first and second algorithms. It should also be understood that the stream of memory accesses examined by the second prefetcher 144 might be different from the stream examined by the first prefetcher 142. Flow proceeds to block 306.

At block 306, the second prefetcher 144 detects that it is prefetching at a rate in excess of a threshold rate X. In one embodiment, the threshold rate X (as well as threshold rate Z, whose use is discussed below) is a number of prefetch requests made by the second prefetcher 144 per M cycles of the clock signal of the second prefetcher 144 and in which M is a predetermined value (e.g., 64). Generally speaking, a prefetch rate by the second prefetcher 144 in excess of rate X indicates the second prefetcher 144 may be consuming a relatively large amount of the bus 148 bandwidth and therefore may be an indication that the second prefetcher 144 should tell the first prefetcher 142 to throttle itself from consuming excess bus 148 bandwidth. Flow proceeds to block 308.

At block 308, in response to the detection at block 306, the second prefetcher 144 provides an indication to the first prefetcher 142 to tell the first prefetcher 142 to throttle itself. Flow proceeds to block 312.

At block 312, first prefetcher 142 receives the throttle indication provided by the second prefetcher 144 at block 308 and throttles its prefetching back to below a threshold rate of Y. In one embodiment, the threshold rate Y is a number of prefetch requests made by the first prefetcher 142 per P cycles of the clock signal of the second prefetcher 144 and in which P is a predetermined value (e.g., 64). Flow proceeds to block 314.

At block 314, the second prefetcher 144 eventually detects that it is prefetching below a threshold rate Z. In one embodiment, the threshold rate Z is equal to the threshold rate X. However, in other embodiments, the threshold rate Z is less than the threshold rate X, which serves to provide some hysteresis in the throttling mechanism. Flow proceeds to block 316.

At block 316, the second prefetcher 144, in response to the detection at block 314, tells the first prefetcher 142 to no longer throttle itself Flow proceeds to block 318.

At block 318, the first prefetcher 142 ceases to throttle itself from prefetching in response to receiving the communication from the second prefetcher 144 at block 316. Flow ends at block 318.

In one embodiment, the threshold rates X, Y and/or Z may be programmable, e.g., by BIOS, the operating system or other software, e.g., via programmable registers of the microprocessor 100 (e.g., model specific registers), or by blowing fuses of the microprocessor 100 dedicated for such purpose. In one embodiment, the threshold rates X, Y and/or Z may be determined based on various factors.

In one embodiment, the manufacturer and/or user of the microprocessor 100 analyzes prior execution instances of specific programs whose performance it is particularly desirable to optimize and from the analysis determines threshold rates that provide superior performance. In one embodiment, the superior performing threshold rates are programmed into the microprocessor 100 in response to the system detecting that the currently running program is one of the analyzed programs for which the threshold rates have been determined through prior analysis. In another embodiment, the threshold rates determined through the analysis are programmed into the microprocessor 100 at initialization time (e.g., by BIOS or the operating system) along with information that identifies the analyzed programs, and the microprocessor 100 itself uses the program identification information to detect that one of the analyzed programs is currently running and causes the first prefetcher 142 and/or second prefetcher 144 to use the threshold values associated with the identified program.

In another embodiment, the thresholds are determined dynamically by the microprocessor 100 based on utilization of the bus 148. In one embodiment, the bus 148 utilization is measured as the number of bus transactions in the most recent N bus 148 clock cycles, wherein N is a programmable value. In another embodiment, the bus 148 utilization is measured as the number of bus transactions currently waiting to request access to the bus 148, e.g., in a queue in the bus interface unit 122. Additionally, the bus 148 utilization may be computed based on the bus 148 clock rate and/or the clock rate of the first prefetcher 142 and the second prefetcher 144.

Although embodiments have been described in which the second prefetcher 144 throttles the first prefetcher 142, other embodiments are contemplated in which either prefetcher 142/144 can throttle the other. Similarly, other embodiments are contemplated in which either prefetcher 142/144 can additionally tell the other prefetcher 144/142 to stop prefetching from a memory region. Furthermore, although embodiments have been described in which the microprocessor 100 comprises a single processing core (e.g., instruction cache 102, instruction decoder 104, RAT 106, reservation stations 108, execution units 112, retire unit 114, L1 data cache 116), multi-core embodiments are contemplated.

While various embodiments of the present invention have been described herein, it should be understood that they have been presented by way of example, and not limitation. It will be apparent to persons skilled in the relevant computer arts that various changes in form and detail can be made therein without departing from the scope of the invention. For example, software can enable, for example, the function, fabrication, modeling, simulation, description and/or testing of the apparatus and methods described herein. This can be accomplished through the use of general programming languages (e.g., C, C++), hardware description languages (HDL) including Verilog HDL, VHDL, and so on, or other available programs. Such software can be disposed in any known computer usable medium such as magnetic tape, semiconductor, magnetic disk, or optical disc (e.g., CD-ROM, DVD-ROM, etc.), a network, wire line, wireless or other communications medium. Embodiments of the apparatus and method described herein may be included in a semiconductor intellectual property core, such as a microprocessor core (e.g., embodied, or specified, in a HDL) and transformed to hardware in the production of integrated circuits. Additionally, the apparatus and methods described herein may be embodied as a combination of hardware and software. Thus, the present invention should not be limited by any of the exemplary embodiments described herein, but should be defined only in accordance with the following claims and their equivalents. Specifically, the present invention may be implemented within a microprocessor device that may be used in a general-purpose computer. Finally, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims. 

The invention claimed is:
 1. A method, comprising: prefetching data, by a first hardware data prefetcher, into a microprocessor according to a first algorithm; prefetching data, by a second hardware data prefetcher, into the microprocessor according to a second algorithm, wherein the first and second algorithms are different; detecting, by the second prefetcher, that the second prefetcher is prefetching data into the microprocessor according to the second algorithm in excess of a first predetermined rate and, in response, sending a throttle indication to the first prefetcher; prefetching data, by the first prefetcher, into the microprocessor according to the first algorithm at below a second predetermined rate in response to receiving the throttle indication from the second prefetcher; wherein the first and/or second predetermined rate is dynamically determined based on utilization of a bus that interfaces the microprocessor to a system memory from which the first and second hardware data prefetchers prefetch data into the microprocessor; and wherein the utilization is determined based on a ratio of a clock rate of the bus and a clock rate of the first and second data prefetchers.
 2. The method of claim 1, further comprising: providing, by the second prefetcher, to the first prefetcher a resume indication; and prefetching data, by the first prefetcher, into the microprocessor according to the first algorithm without regard to the second predetermined rate in response to receiving the resume indication from the second prefetcher.
 3. The method of claim 1, wherein the first and/or second predetermined rate comprises a respective first and/or second predetermined number of prefetch requests per clock cycle of the microprocessor.
 4. The method of claim 1, wherein the first and/or second predetermined rate is programmable via fuses of the microprocessor.
 5. The method of claim 1, wherein the first and/or second predetermined rate is programmable via an instruction executable by the microprocessor.
 6. The method of claim 1, wherein the first and/or second predetermined rates are associated with a program currently executing on the microprocessor, wherein the first and/or second predetermined rates are determined based on analysis of prior execution instances of the program prior to the current execution instance of the program.
 7. A microprocessor, comprising: a first hardware data prefetcher, configured to prefetch data into the microprocessor according to a first algorithm; and a second hardware data prefetcher, configured to prefetch data into the microprocessor according to a second algorithm, wherein the first and second algorithms are different; wherein the second prefetcher is configured to detect that the second prefetcher is prefetching data into the microprocessor according to the second algorithm in excess of a first predetermined rate and, in response, to send a throttle indication to the first prefetcher; wherein the first prefetcher is configured to prefetch data into the microprocessor according to the first algorithm at below a second predetermined rate in response to receiving the throttle indication from the second prefetcher; wherein the first and/or second predetermined rate is dynamically determined based on utilization of a bus that interfaces the microprocessor to a system memory from which the first and second hardware data prefetchers prefetch data into the microprocessor; and wherein the utilization is determined based on a ratio of a clock rate of the bus and a clock rate of the first and second data prefetchers.
 8. The microprocessor of claim 7, wherein the second prefetcher is further configured to provide to the first prefetcher a resume indication, wherein the first prefetcher is further configured to prefetch data into the microprocessor according to the first algorithm without regard to the second predetermined rate in response to receiving the resume indication from the second prefetcher.
 9. The microprocessor of claim 8, wherein the second prefetcher is configured to provide the resume indication to the first prefetcher when the second prefetcher subsequently detects that the second prefetcher is no longer prefetching data into the microprocessor according to the second algorithm in excess of a third predetermined rate.
 10. The microprocessor of claim 7, wherein the first and/or second predetermined rate comprises a respective first and/or second predetermined number of prefetch requests per clock cycle of the microprocessor.
 11. The microprocessor of claim 7, wherein the first and/or second predetermined rate is programmable via fuses of the microprocessor.
 12. The microprocessor of claim 7, wherein the first and/or second predetermined rate is programmable via an instruction executable by the microprocessor.
 13. The microprocessor of claim 7, wherein the first and/or second predetermined rates are associated with a program currently executing on the microprocessor, wherein the first and/or second predetermined rates are determined based on analysis of prior execution instances of the program prior to the current execution instance of the program.
 14. The microprocessor of claim 7, wherein the utilization is determined based on a number of transactions outstanding on the bus.
 15. The microprocessor of claim 7, wherein the utilization is determined based on a depth of a queue of transactions waiting to be initiated on the bus.
 16. A computer program product encoded in at least one non-transitory computer usable storage medium for use with a computing device, the computer program product comprising: computer usable program code embodied in said medium, for specifying a microprocessor, the computer usable program code comprising: first program code for specifying a first hardware data prefetcher, configured to prefetch data into the microprocessor according to a first algorithm; and second program code for specifying a second hardware data prefetcher, configured to prefetch data into the microprocessor according to a second algorithm, wherein the first and second algorithms are different; wherein the second prefetcher is configured to detect that the second prefetcher is prefetching data into the microprocessor according to the second algorithm in excess of a first predetermined rate and, in response, to send a throttle indication to the first prefetcher; wherein the first prefetcher is configured to prefetch data into the microprocessor according to the first algorithm at below a second predetermined rate in response to receiving the throttle indication from the second prefetcher; wherein the first and/or second predetermined rate is dynamically determined based on utilization of a bus that interfaces the microprocessor to a system memory from which the first and second hardware data prefetchers prefetch data into the microprocessor; and wherein the utilization is determined based on a ratio of a clock rate of the bus and a clock rate of the first and second data prefetchers.
 17. The computer program product of claim 16, wherein the at least one non-transitory computer usable storage medium is selected from the set of a disk, tape, or other magnetic, optical, or electronic storage medium. 